# 用户models的序列化类
import bdb

from applications.exts import ma
from marshmallow import fields


class WxUserAddressOutSchema(ma.Schema):
    id = fields.Integer()
    openid = fields.Str()
    username=fields.Str()
    avatar = fields.Str()
    phone = fields.Str()
    default = fields.Integer()
    address = fields.Str()
    create_at = fields.DateTime()
    update_at = fields.DateTime()